package com.centling.smartSealForPhone.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by lqy on 2016/5/26.
 * 设备信息
 */
public class EquipBean implements Parcelable {
    private String equipType;
    private String sn;
    private String embededSn;
    private String equipStatus;
    private String sealName;
    private String orgName;
    private String blueToothMac;
    private String registerDate;
    private String ascSn;
    /**
     * takeOutStatus : 0
     * bossModeStatus : 0
     * selfCheckStatus : 0
     * sealReplaceStatus : 0
     */

    private String takeOutStatus;
    private String bossModeStatus;
    private String selfCheckStatus;
    private String sealReplaceStatus;

    public String getEquipType() {
        return equipType;
    }

    public void setEquipType(String equipType) {
        this.equipType = equipType;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getEmbededSn() {
        return embededSn;
    }

    public void setEmbededSn(String embededSn) {
        this.embededSn = embededSn;
    }

    public String getEquipStatus() {
        return equipStatus;
    }

    public void setEquipStatus(String equipStatus) {
        this.equipStatus = equipStatus;
    }

    public String getSealName() {
        return sealName;
    }

    public void setSealName(String sealName) {
        this.sealName = sealName;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getBlueToothMac() {
        return blueToothMac;
    }

    public void setBlueToothMac(String blueToothMac) {
        this.blueToothMac = blueToothMac;
    }

    public String getRegisterDate() {
        return registerDate;
    }

    public void setRegisterDate(String registerDate) {
        this.registerDate = registerDate;
    }

    public EquipBean() {
    }

    public String getTakeOutStatus() {
        return takeOutStatus;
    }

    public void setTakeOutStatus(String takeOutStatus) {
        this.takeOutStatus = takeOutStatus;
    }

    public String getBossModeStatus() {
        return bossModeStatus;
    }

    public void setBossModeStatus(String bossModeStatus) {
        this.bossModeStatus = bossModeStatus;
    }

    public String getSelfCheckStatus() {
        return selfCheckStatus;
    }

    public void setSelfCheckStatus(String selfCheckStatus) {
        this.selfCheckStatus = selfCheckStatus;
    }

    public String getSealReplaceStatus() {
        return sealReplaceStatus;
    }

    public void setSealReplaceStatus(String sealReplaceStatus) {
        this.sealReplaceStatus = sealReplaceStatus;
    }

    public String getAscSn() {
        return ascSn;
    }

    public void setAscSn(String ascSn) {
        this.ascSn = ascSn;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.equipType);
        dest.writeString(this.sn);
        dest.writeString(this.embededSn);
        dest.writeString(this.equipStatus);
        dest.writeString(this.sealName);
        dest.writeString(this.orgName);
        dest.writeString(this.blueToothMac);
        dest.writeString(this.registerDate);
        dest.writeString(this.takeOutStatus);
        dest.writeString(this.bossModeStatus);
        dest.writeString(this.selfCheckStatus);
        dest.writeString(this.sealReplaceStatus);
        dest.writeString(this.ascSn);
    }

    protected EquipBean(Parcel in) {
        this.equipType = in.readString();
        this.sn = in.readString();
        this.embededSn = in.readString();
        this.equipStatus = in.readString();
        this.sealName = in.readString();
        this.orgName = in.readString();
        this.blueToothMac = in.readString();
        this.registerDate = in.readString();
        this.takeOutStatus = in.readString();
        this.bossModeStatus = in.readString();
        this.selfCheckStatus = in.readString();
        this.sealReplaceStatus = in.readString();
        this.ascSn = in.readString();
    }

    public static final Creator<EquipBean> CREATOR = new Creator<EquipBean>() {
        @Override
        public EquipBean createFromParcel(Parcel source) {
            return new EquipBean(source);
        }

        @Override
        public EquipBean[] newArray(int size) {
            return new EquipBean[size];
        }
    };
}
